import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import {
  Button,
  Form,
  Result,
  Tabs,
  Input,
  Icon,
  Checkbox,
  Layout,
  Drawer,
  Radio,
  Menu,
  notification,
  Dropdown,
  Avatar,
  Spin,
  ConfigProvider,
  Pagination,
  Table,
  Divider,
  Modal,
  FormModel,
  Select,
  Tag,
  Descriptions,
  Row,
  Col,
  Space,
  DatePicker,
  TimePicker,
  Card,
  Popconfirm,
  Breadcrumb,
  InputNumber,
} from "ant-design-vue";
import "./permission"; // 权限控制

Vue.config.productionTip = false;

Vue.use(Breadcrumb);
Vue.use(Button);
Vue.use(Form);
Vue.use(Result);
Vue.use(Tabs);
Vue.use(Input);
Vue.use(Icon);
Vue.use(Checkbox);
Vue.use(Layout);
Vue.use(Drawer);
Vue.use(Radio);
Vue.use(Menu);
Vue.use(notification);
Vue.use(Dropdown);
Vue.use(Avatar);
Vue.use(Spin);
Vue.use(ConfigProvider);
Vue.use(Pagination);
Vue.use(Table);
Vue.use(Divider);
Vue.use(Modal);
Vue.use(FormModel);
Vue.use(Select);
Vue.use(Tag);
Vue.use(Descriptions);
Vue.use(Row);
Vue.use(Col);
Vue.use(Space);
Vue.use(DatePicker);
Vue.use(TimePicker);
Vue.use(Card);
Vue.use(Popconfirm);
Vue.use(InputNumber);

Vue.prototype.$notification = notification;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
